package com.lucher.mes.dao;

import java.util.ArrayList;
import java.util.List;

import com.lucher.mes.po.Devicedepot;

public interface DevicedepotMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Devicedepot record);

    int insertSelective(Devicedepot record);

    Devicedepot selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Devicedepot record);

    int updateByPrimaryKey(Devicedepot record);
    
    //自定义接口
    List<Devicedepot> findByList(Devicedepot record);
    List<Devicedepot> findByListForPage(Devicedepot record);
    int findByCount(Devicedepot record);
    public Devicedepot findByBatchno(String batchno);
    public Integer saveBatch(ArrayList<Devicedepot> records);
}